Add code highlighting for "use workflow" and "use step" directives in docs landing page#584
Add code highlighting for "use workflow" and "use step" directives in docs landing page#584
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… Effortless Setup section Co-authored-by: pranaygp <1797812+pranaygp@users.noreply.github.com>
|
@copilot can we use the shiki transformer approach instead, just like we do in there set of the docs content pages. Let's be consistent with that - including visually consistency instead of creating new styling |
|
@copilot I meant shiki, not shake (that was my autocorrect sorry) |
Co-authored-by: pranaygp <1797812+pranaygp@users.noreply.github.com>
Updated to use the |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|

Adds visual highlighting to the directive strings in the "Effortless Setup" code examples to make them stand out, using the same Shiki notation transformer approach as the rest of the docs for consistency.
Changes
docs/app/(home)/components/code-block.tsx: UsetransformerNotationHighlightfrom@shikijs/transformersfor code highlightingdocs/app/(home)/components/implementation.tsx: Added// [!code highlight]notation to the directive linesdocs/package.json: Added@shikijs/transformersdependencyUsage
The code examples now use the standard Shiki notation for highlighting:
Screenshot
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.